<template>
  <Form
    :form-data="formData"
    :control-list="controlList"
    :type="type"
    :inline="inline"
    :width="width"
    @entry="entry"
  ></Form>
</template>
<script>
import Form from "@/views/component/form/index.vue";
export default {
  components: { Form },
  props: {
    formData: {
      type: Object,
    },
    controlList: {
      type: Array,
    },
    type: {
      type: String,
    },
    inline: {
      type: Boolean,
    },
    width: {
      type: String,
    },
  },
  methods: {
    entry(formData) {
      this.$emit("entry", formData);
    },
  },
};
</script>
